const chalk = require("chalk")
const ora = require("ora")
const inquirer = require("inquirer")
// const content = chalk.red("hello world") 


// const content = chalk.hex(211,129,22).bgHex("#fff").underline("hello world")
// const spinner = ora("下载中")


inquirer.prompt([
{type:"confirm",
name:"isAdult",
message:"你是否已经成年"
}
]).then((answer)=>{
    console.log(answer);
})
// spinner.start()
// setTimeout(()=>{
//     spinner.stop()
//     console.log(content);
// },2000)
